package com.app.manage.moudles.push.entity;

import java.util.ArrayList;
import java.util.Date;

import com.app.manage.utils.PageSearch;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * (TPushTask)表实体类
 *
 * @author makejava
 * @since 2025-05-28 10:07:54
 */
@Data
@TableName("t_push_task")
public class TPushTask  {
    
    private Integer id;
    //任务名称
    private String taskName;
    //发版声明
    private String taskDes;
    //基础路径
    private String basicPath;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //推送时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pushTime;
    //推送结束时间
    private Date finishPushTime;

    //发布结果
    private String pushRes;

    private Integer pushStep;

    private String appServerIds;

    @TableField(exist = false)
    private String pushStepName;



    @TableField(exist =  false)
    private String taskAppIds;
    @TableField(exist =  false)
    private List<Integer> appServers = new ArrayList<>();



    @TableField(exist = false)
    //0是可以启动，1是可以停止，2是无
    public Integer optCmd;
}

